/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class YXStateEnum extends StringEnum
{
    public static final String YX_VALUE = "1";
    public static final String WX_VALUE = "0";

    public static final YXStateEnum yx = new YXStateEnum("yx", YX_VALUE);
    public static final YXStateEnum wx = new YXStateEnum("wx", WX_VALUE);

    /**
     * construct function
     * @param String yXStateEnum
     */
    private YXStateEnum(String name, String yXStateEnum)
    {
        super(name, yXStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static YXStateEnum getEnum(String yXStateEnum)
    {
        return (YXStateEnum)getEnum(YXStateEnum.class, yXStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(YXStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(YXStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(YXStateEnum.class);
    }
}